projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed9941e
)
Adwaita: Allow separators on individual list items
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 12 Jun 2020 13:20:46 +0000
(09:20 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 12 Jun 2020 13:22:36 +0000
(09:22 -0400)
Allow setting a .separator style class on list items
to put a separator before the item.
gtk/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index 748702eb891b8515e44718c409ead94aa301e545..d2ed052b06a83c59c20b6651aec72bb225070466 100644
(file)
--- a/
gtk/theme/Adwaita/_common.scss
+++ b/
gtk/theme/Adwaita/_common.scss
@@
-3012,9
+3012,11
@@
list {
> row.expander { padding: 0px; }
> row.expander .row-header { padding: 2px; }
+ &.horizontal row.separator:not(:first-child),
&.separators.horizontal row:not(:first-child) {
border-left: 1px solid $borders_color;
}
+ &:not(.horizontal) row.separator:not(:first-child),
&.separators:not(.horizontal) row:not(:first-child) {
border-top: 1px solid $borders_color;
}